GetQDRegion
Mac OSThe
GetQDRegion
method returns an approximation of this shape in the form of a read-only QuickDraw region.
ODRgnHandle GetQDRegion ();
- return value
- A QuickDraw region that approximates this shape.
DISCUSSION
The returned QuickDraw region is owned by this shape; you cannot modify it or deallocate its storage. The region and its content are valid only until the next operation on this shape.This method calls the
GetPlatformShape
method to obtain the QuickDraw region.EXCEPTIONS
kODErrInvalidGraphicsSystem
- The QuickDraw graphics system is not installed or available.
SEE ALSO
TheODRgnHandle
type (page 884).
TheODShape::GetPlatformShape
method (page 639).
TheODShape::SetQDRegion
method (page 652).
Listing 2-18 on page 68 in OpenDoc Cookbook.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help